﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DAL;
using System.Data;

namespace BLL
{
   public class users_bll
    {
       users_dal dal = new users_dal();
       /// <summary>
       /// 前台用户登录用户登录
       /// </summary>
       /// <param name="Name"></param>
       /// <param name="Pwd"></param>
       /// <returns></returns>
       public List<users> Login(string Login_Name, string Login_Pwd)
       {
           return dal.Login(Login_Name, Login_Pwd);
       }

       /// <summary>
       /// 获取所有用户
       /// </summary>
       /// <returns></returns>
       public List<users> GetUsers()
       {
           return dal.GetUsers();
       }
    }
}
